using namespace std;
#include<iostream>
#include<ctime>

int main()
{
    std::time_t t = std::time(0);  // t is an integer type
    std::cout << t << std::endl;
    //output:1595739910
    return 0;
}